﻿namespace HY.Common
{
    public class SystemConst
    {
        public static class CookieKey
        {
            public const string UserId = nameof(UserId);

            public const string UserName = nameof(UserName);

            public const string RoleId = nameof(RoleId);

            public const string LastModifyTime = nameof(LastModifyTime);
        }
        public static class CacheKey
        {
            public const string SysRole = "SysRoleCache";
            public const string SysResource = "SysPowerResourceCache";

            /// <summary>
            /// appsettings.json内滑动时间配置路径
            /// </summary>
            public const string SlidingMinutes = "Cache:SlidingMinutes";
        }
        public static class Website
        {
            public static string Title = AppSetting.GetValue("Website:Title");
        }
    }
}
